//
//  CFWithdrawDetailVC.m
//  CFfuturestalent
//
//  Created by 子yu 刘 on 2018/5/2.
//  Copyright © 2018年 子yu 刘. All rights reserved.
//

#import "CFWithdrawDetailVC.h"

@interface CFWithdrawDetailVC ()

@end

@implementation CFWithdrawDetailVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"提现详情";
    [self setUpState];
  
}

- (void)setUpState{
    switch ([self.state integerValue]) {
        case 0:
            self.lbAuditState.textColor = DEF_COLOR_HEX_687278;
            self.auditImage.image = [UIImage imageNamed:@"审核通过2"];
            self.lbTransfer.textColor = DEF_COLOR_HEX_687278;
            self.transferImage.image = [UIImage imageNamed:@"财务打款"];
            self.line.backgroundColor = DEF_COLOR_HEX_687278;
            break;
        case 1:
            self.lbAuditState.textColor = [UIColor whiteColor];
            self.auditImage.image = [UIImage imageNamed:@"审核通过"];
            self.lbTransfer.textColor = DEF_COLOR_HEX_687278;
            self.transferImage.image = [UIImage imageNamed:@"财务打款"];
            break;
        case 2:
            self.lbAuditState.textColor = [UIColor whiteColor];
            self.auditImage.image = [UIImage imageNamed:@"审核通过"];
            self.lbTransfer.textColor = [UIColor whiteColor];
            self.transferImage.image = [UIImage imageNamed:@"财务打款2"];
            break;
        case 3:
            self.view2Height.constant = 0;
            self.view2.hidden = YES;
            self.lbTransfer.text = @"审核拒绝";
            self.transferImage.image =DEF_IMAGENAME(@"审核拒绝");
            self.lbTransferTime.text = @"此处为财务填写的拒绝原因，此处为财务填写的拒绝原因，此处为财务填写的拒绝";
            break;
            
        default:
            break;
    }
}


@end
